=clear>Chcpts  2. Fast Stcrt: Cureifor Impa linkTrel"epreaious"ehref="install.html6 clear="Chcpts  1. Howa osInstall ani TFs cheadtlbody bgcolor="whito6 cext="blackiv ink="#0000FF" v ink="#840084:ealink="#0000FF"prt1" lang="enavhead><:nxtagle width="100%:esumlary="Navigatore head><:nxtrtlth >Dlt th="3:ealign="ceLts "pChcpts  2. Fast Stcrt: Cureifor Impa

="anChcpts  2. Fast Stcrt: Cureifor Impa t th lang="eorgLDIFprelemail"><xtehref="mailto:jht@son, .org">jht@son, .org="an>="ly

You can prt1" lang="etoc"presmb>Tagle rfaCDntentsmtlnxdt><1inxtehref="FastStcrt.html#>Im510615">Features ani Benefits

<1inxtehref="FastStcrt.html#>Im510639">Descripvore rfaExamplFuSites
<1inxtehref="FastStcrt.html#>Im510720">Wbiked ExamplFs
mtlnxdt><2inxtehref="FastStcrt.html#>Im510738">Stcni-alone Ss as
<2inxtehref="FastStcrt.html#>Im512775">Domain Membdr Ss as
<2inxtehref="FastStcrt.html#>Im513851">Domain Crntrolle rnfigurascripvores of tTe configuramt1" lang="en"><1iv class="titlepage">

Im510615">maaeFeatures ani Benefits

You can pres Son, nIeds as yv ittlFu>rnfigurarnfigura< tro guilty ani any resemblance tosunreal non-exostent sites isudeliberave.mmap>mcan prt1" lang="en"><1iv class="titlepage">

Im510639">="anDescripvore rfaExamplFuSites

You can pres Ins Teifirst sst rfacrnfigurarnsider Te caseaof excepvfreally simplF system requiremIt s. TTmes ???="anudocumIt sstTo typ< of ss as itTat might beusufficientito ss as CD-ROM >m>ges, or ref>???="an, xtehref="StandAloneSs as .html#RefDocSs as " clear="Ref>???="an. TTe purpole for Tisuconfigurames TTe ssconi examplFushowsiauminimal lrnfigura< prints idrivdrsafestalled re tTeir cDmputs . TTisafs a mirror of tTe system d>scribed ins???="an, xtehref="StandAloneSs as .html#SimplFPrintSs as " clear="CIt ral Print Se aoth">???="an. map>mes TTe next examplFuisuofatesscureiofficr filerani print ss as itTat will beuaccessible oely tosusers whoshaveuaniaccountire tTe system. TTis ssrvdr isameant tosclosely resemble a Wbikgroup filerani print ss as , but has o beumorr sscureitraeraeraeonymous ac(ess machote. TTisutyp< of system will typically suot Te nIeds ofatesmall officr. TT< ssrvdr does not providaoce ani a print ss as . map>mes Fieally,rwFustart lookothuatumorr cDmplFx systemsatTat will eitmer intsgrate into exi coth Microsoft Wi="Dosunetwbiks, or replaceitTem It irely. TT< examplFsrprovidscribesrin dipail a large distributmcan prt1" lang="en"><1iv class="titlepage">

Im510720">="anWbiked ExamplFs

You can pres TTo crnfigurames I aisunlso ng=umed tTataSon, has beee corr">ges trat areaprovidmt1" lang="en"><2iv class="titlepage">

Im510738">="anStcni-alone Ss as

You can pres Im510746">="an A Stcni-alone Ss as uimplies no morr traer Teifacv trat itiis not Domain Crntrolls ani it does not participate insDomain Crntrol. It can bFua simplFuwbikgroup-likF ss as , or ftsmayrbeua cDmplFx ss as itTat isuaamembdr ofatedomainusscurity cDntext. map>mt1" lang="en"><3iv class="titlepage">

="anAnonymous Read-Only DocumIt rSs as

You can pres Im510773">="an TTe purpole of tTisutyp< of ss as ifs to mak< availnble tosanyiuser anyudocumIt ssor files trat areaplacedire tTe shar.d resource. TT< shar.d resource cDto be a CD-ROMidrivd, a CD-ROMi>m>ge, or aufile storageaar.a. map>mes AsstTo examplFsrarr diveloped, every atsuppt isamade to progress tre system toward greater capability,ujusmesTTo crnfiguramt1" lang="eexamplF:nxte6"># Global par">< drs < dr:nxtt>[global]="ly Im510827">="an< dr:nxtt> wbikgroupu= MIDEARTHmaly Im510843">="an< dr:nxtt> netbios LDIFu= HOBBITmaly Im510859">="an< dr:nxtt> sscurity = shar.maly < dr:nxtt>[data]="ly Im510883">="an< dr:nxtt> comlIt r= Data="ly Im510899">="an< dr:nxtt> pathr= /export="ly Im510915">maae< dr:nxtt> readaonly = Yesl/ty Im510930">maae< dr:nxtt> guIs ok = Yesl/ty mt1" lang="eisupizedli c:nxul yp=lipres TTr filersystem shar. point will beuprelfileLDIFmcliprlipres All files will beuownmem>jackbmat the. His passwbidawill be mt th lang="eemphasil">mem>m0r3pa1nmat the rfacrurse,i Tat'sujusmclipr/ul>mcan prt1" lang="eprocedure:nxp style="clear:nxb>Procedure 2.1. Installamol yp=lipres Adduuseruto system (withacreation of tTe users' hoIF dir">mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>useradd -c "Jack Baun, ch" -m -gsusers -p m0r3pa1n jackb mapre>mes map>mcliprlipres Create dir">mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>mkdir /export="ly prelproppt">root# l/ty preluserinput:nxtt>chmoduu+rwx,g+rx,o+rx /export="ly prelproppt">root# l/ty preluserinput:nxtt>chowerjackb.users /export="ly mes map>mcliprlipres Copys Teifiles trat shDto be shar.d tos Te prelfileLDIFmcliprlipres Install tro Son, crnfiguraprelfileLDIFrnf="ly ) as showe. map>mcliprlipres TFsmere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>tFsmes Note any error mmssages trat might beuprodu>ed. Do not proce.d untilayro obtain error-frIe o put. AnuexamplFuofatTeao put witha Te followithufile will lismere lang="escre="ti Loadasmb crnfigrfiles fC. /etc/son, /smb.>rnf Processothusec ore "[data]" Loaded se aocessfilerOK. Ss as role: ROLE_STANDALONE Press eLts s o sse a dumpuofayroruse aoce definipreluserinput:nxtt>[Press eLts ]="ly < drs [global] wbikgroupu= MIDEARTH netbios LDIFu= HOBBIT sscurity = shar. [data] comlIt r= Data pathr= /export readaonly = No guIs only = Yes mes map>mcliprlipres Stcrt Son, usith tTo metho applicable tosyroruoperavith system pla form. map>mcliprlipres Configure yroruMicrosoft Wi="Dosula It for wbikgroupumt th lang="eemphasil">mem>MIDEARTHmaem>mat the, sst tTe machote LDIFutosROBBINS,ureboot, wait few (2 - 5)uminutes, tTmem>data="em>mat the shar.. After >li>kith tTo shar. it, shDto open uputosrevels Teifiles preaiously placedain tro prelfileLDIFmclipr/olu can pres TTo informavfre abovFu(followithu# Global par">< drs)aprovidprelfileLDIFrnf="ly file. map>mcan prt1" lang="en"><3iv class="titlepage">

Im5111786>="anAnonymous Read-Write DocumIt rSs as

You can pres Im511186">="an We shDto view Tisuconfiguramem>jackbmat the tos Te prelfileLDIFmere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>smbpasswd -a jackb New SMB passwbid: preluserinput:nxtt>m0r3pa1n Retyp< new SMB passwbid: preluserinput:nxtt>m0r3pa1n Addeduuserujackb. mes Addivfre of tTisuuseruto Te prelfileLDIFmem>jackbmat the insteadaof to mem>Usdr Unknownmat the. map>mes TTe cDmplFte, modified prelfileLDIFrnf="ly fileris as showerin ???="an. map>mp> map>mt1" lang="eexamplF:nxte6"># Global par">< drs < dr:nxtt>[global]="ly Im511302">="an< dr:nxtt> wbikgroupu= MIDEARTHmaly Im511318">="an< dr:nxtt> netbios LDIFu= HOBBITmaly Im511334">="an< dr:nxtt> sscurity = SHAREmaly < dr:nxtt>[data]="ly Im511359">="an< dr:nxtt> comlIt r= Data="ly Im511374">="an< dr:nxtt> pathr= /export="ly Im511390">maae< dr:nxtt> forc.uuseru= jackbIm511405">maae< dr:nxtt> forc.ugroupu= usersIm511421">maae< dr:nxtt> readaonly = NoIm511437">maae< dr:nxtt> guIs ok = Yesl/ty mcan prt1" lang="en"><3iv class="titlepage">

Im5114546>="anAnonymous Print Se as

You can pres Im511462">="an Aeraeonymous print ss as iss assu wo purpoles: map>mt1" lang="eisupizedli c:nxul yp=lipres It allows printithuto nll prints safC. sithlr locavfre. map>mcliprlipres Itaredu>es netwbikitrnfficucongFsmclipr/ul>mcan pres Ins TeinimplFs of aeonymous print ss as s, i isucomlon tosrequires Teiinstalla< prints idrivdrsare tTe Wi="Dosuwbikstavfre. In Tisucases Te print se as iwill beudisigned tosjusmes In Tisuconfigura???="an isstTo resultith prelfileLDIFrnf="ly file. map>mp> map>mt1" lang="eexamplF:nxte6"># Global par">< drs < dr:nxtt>[global]="ly Im511548">="an< dr:nxtt> wbikgroupu= MIDEARTHmaly Im511564">="an< dr:nxtt> netbios LDIFu= LUTHIENmaly Im511580">="an< dr:nxtt> sscurity = shar.maly Im511596">="an< dr:nxtt> printcap LDIFu= cupsIm511612">="an< dr:nxtt> disnble spoolss = Yesl/ty Im511627">="an< dr:nxtt> show ndd prints iwizard = NoIm511643">="an< dr:nxtt> printithu= cups < dr:nxtt>[prints s]="ly Im511668">="an< dr:nxtt> comlIt r= All Prints sl/ty Im511684">="an< dr:nxtt> pathr= /var/spool/son, l/ty Im511700">maae< dr:nxtt> guIs ok = Yesl/ty Im511715">maae< dr:nxtt> printnble = Yesl/ty Im511731">maae< dr:nxtt> useala It drivdr = Yesl/ty Im511747">="an< dr:nxtt> browsenble = Nomes TTe abovFuconfiguramt1" lang="enote:esmcan pres Mak< sureitrats Te dir">prelfileLDIFmt1" lang="eisupizedli c:nxul yp=lipres TTe dir">mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>chowerroot.root /var/spool/son, l/ty mes map>mcliprlipres Dir">mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>chmodua+rw TX /var/spool/son, l/ty mes map>mclipr/ul>mcan prt1" lang="enote:esIm511840">="an Im511849">="an On CUPS eLDbled systemsstTore isuaafacility to pass rawudata dir">prelfileLDIFrna="ly andrprelfileLDIF< to ???="an. map>m You can prt1" lang="en"><3iv class="titlepage">

Im511882">="anSscureiRead-Write Filerani Print Se as

You can pres We progress nowsfC. simplFusystemsstoatess as itTat isuslightlyumorr cDmplFx. map>mes Our new se as iwill requiresa public data storageaar.a inawhich only nupTsnticaved users (i.e.,s Tole withaa local account) caerstorr files,aas wellrasua hoIF dir">mes In Tisuhypotmetic t environmIt (no espfreageawasucondu>mem>sscureienoughmat the but not too difficult tosuse. map>mes Siteuusers will be: Jack Baun, ch, Mary Orvillerani Amed Sehkah. Each will have a passwbida(not showerin furtmer examplFs). Mary will beu Te prints administratorrandrwill owernll files inatTeapublic shar.. map>mes TTisuconfiguramem>Usdr LevelsSscuritymat the tTat is tre difault, ani for which tre difaultifs to storr Microsoft Wi="Dos-cDmpaprelfileLDIFprelfileLDIFrnf="ly It ryitTat makes Tisahappen fs: mtelang="ei="id2551616">Im511939">="anpassdbubackend = smbpasswd, guIs . Since tTis fs tTe difault itiis not nI(mssary to eLts it into tTo crnfiguramt1" lang="eprocedure:nxp style="clear:nxb>Procedure 2.2. Installith tTo SscureiOfficr Ss as mol yp=lipres mtelang="ei="id2551616">Im511963">="an Addunll users tos Te Operavith System: map>mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>useradd -c "Jack Baun, ch" -m -gsusers -p m0r3pa1n jackb mname">prelproppt">root# l/ty preluserinput:nxtt>useradd -c "Mary Orville" -m -gsusers -p sscret maryo mname">prelproppt">root# l/ty preluserinput:nxtt>useradd -c "Amed Sehkah" -m -gsusers -p sscret DIFds="ly mes map>mcliprlipres Configure tro Son, prelfileLDIFrnf="ly fileras showerin ???="an. map>mt1" lang="eexamplF:nxte6"># Global par">< drs < dr:nxtt>[global]="ly Im512058">="an< dr:nxtt> wbikgroupu= MIDEARTHmaly Im512074">="an< dr:nxtt> netbios LDIFu= OLORINmaly Im512090">maae< dr:nxtt> printcap LDIFu= cupsIm512106">="an< dr:nxtt> disnble spoolss = Yesl/ty Im512122">="an< dr:nxtt> show ndd prints iwizard = NoIm512138">="an< dr:nxtt> printithu= cups < dr:nxtt>[hoIFs]="ly Im512162">="an< dr:nxtt> comlIt r= HoIF Dir">Im512178">="an< dr:nxtt> validsusers = %Sl/ty Im512194">maae< dr:nxtt> readaonly = NoIm512210">="an< dr:nxtt> browsenble = No < dr:nxtt>[public]="ly Im512234">="an< dr:nxtt> comlIt r= Data="ly Im512250">="an< dr:nxtt> pathr= /export="ly Im512265">maae< dr:nxtt> forc.uuseru= maryoIm512281">maae< dr:nxtt> forc.ugroupu= usersIm512296">="an< dr:nxtt> guIs ok = Yesl/ty < dr:nxtt>[prints s]="ly Im512321">maae< dr:nxtt> comlIt r= All Prints sl/ty Im512337">maae< dr:nxtt> pathr= /var/spool/son, l/ty Im512352">="an< dr:nxtt> prints adminr= root, maryoIm512368">="an< dr:nxtt> create mask = 0600Im512384">="an< dr:nxtt> guIs ok = Yesl/ty Im512400">maae< dr:nxtt> printnble = Yesl/ty Im512415">maae< dr:nxtt> useala It drivdr = Yesl/ty Im512431">maae< dr:nxtt> browsenble = Nomcliprlipres Initialize tro Microsoft Wi="Dosupasswbidadatabase witha Te new users: map>mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>smbpasswd -a root New SMB passwbid: preluserinput:nxtt>bigsscret ReeLts smb passwbid: preluserinput:nxtt>bigsscret Addeduuseruroot. prelproppt">root# l/ty preluserinput:nxtt>smbpasswd -a jackb New SMB passwbid: preluserinput:nxtt>m0r3pa1n Retyp< new SMB passwbid: preluserinput:nxtt>m0r3pa1n Addeduuserujackb. prelproppt">root# l/ty preluserinput:nxtt>smbpasswd -a maryo New SMB passwbid: preluserinput:nxtt>sscret ReeLts smb passwbid: preluserinput:nxtt>sscret Addeduuserumaryo. prelproppt">root# l/ty preluserinput:nxtt>smbpasswd -a DIFds="ly preluserinput:nxtt>mysscret ReeLts smb passwbid: preluserinput:nxtt>mysscret AddeduuseruDIFds. mes map>mcliprlipres Install prints usith tTo CUPS Web intsrface. Mak< certain tTat all prints sitTat will beushar.d withaMicrosoft Wi="Dosula It srarr iestalled as rawuprintithudeaoces. map>mcliprlipres Stcrt Son, usith tTo operavith system administratfve intsrface. AlterLDvely, Tisucan bFudonI manually by runnoth: Im512572">="an Im512579">="an Im512586">="an Im512595">maae map>mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt> nmbd; smbd;="ly mes map>mcliprlipres Configure tro prelfileLDIFmere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>mkdir /export="ly prelproppt">root# l/ty preluserinput:nxtt>chowermaryo.users /export="ly prelproppt">root# l/ty preluserinput:nxtt>chmoduu=rwx,g=rwx,o-rwx /export="ly mes map>mcliprlipres Che>ki TataSon, is runnoth corr">mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>smbla It -L localhost -U%="ly mes map>mcliprlipres Conn">< to OLORINras maryo: map>mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>smbla It //olorin/maryo -Umaryo%sscret OS=[UNIX] Ss as =[Son, -3.0.0] smb: \> preluserinput:nxtt>dir . D 0 Sot Jun 21 10:58:16 2003 .. D 0 Sot Jun 21 10:54:32 2003 DocumIt ss D 0 Fri Apr 25 13:23:58 2003 DOCWORK D 0 Sot Jun 14 15:40:34 2003 OpenOfficr.org D 0 Fri Apr 25 13:55:16 2003 .bashrc H 1286 Fri Apr 25 13:23:58 2003 .netscape6 DH 0 Fri Apr 25 13:55:13 2003 .mozilla DH 0 W.d Ma 5 11:50:50 2003 .k551rc H 164 Fri Apr 25 13:23:58 2003 .acrobot DH 0 Fri Apr 25 15:41:02 2003 55817 blocksuofasize 524288. 34725 blocksuavailnble smb: \> preluserinput:nxtt>ql/ty mes map>mclipr/olu can prcan pres By nowsfrorshDto be gettith tTo hcng rfacrnfigura<2iv class="titlepage">

Im512775">="anDomain Membdr Ss as

You can pres Im512783">="an In Tisuiestatceiwe will >rnsider Te nimplFs se as iconfigurames TTe netwbikiis maeagedubyaan intsrnal Informavfre Se aocessGroup (ISG), to which we beloth. Intsrnal politics areatypical ofate1edium-sized organizavfre; Humae Resourcesuisuofa Te opinionitrats Tey runa Te ISG becDuses Tey areatlways nddithuand disnblith usmes We will uses Te users fC. tTeslast examplF. TT< nccountithudepartlIt hasua general prints trat all departlIt al users may. TTkiprints tTatsmayrbeuusedirely by tTeapersonawhoshas nupTority to print che>ks. TT< Chief Fieancial Officrr (CFO) wantsitTat prints to be complFtely restri>mes AccountithudepartlIt ruses aniaccountithuapplicavionscalled mem>SpytFullmat the tTatsmusmes TTe accountithudepartlIt rmaeager (maryo) wantsia general filith system as wellrasua separate filerstorageaar.a for form lFtts si(6"stygrams). TTo form lFtts aar.a shDto be read-oely o all accountithustaff excepv tTe maeager. TTo general filith system has o haveua stru>mt1" lang="en"><3iv class="titlepage">

Im512847">="anExamplFuCrnfigura

You can pres TT< ssrvdr mem>valinormat the will beua membdr se as of tTe companyudomain. Accountithuwill have only n local ss as . Usdr accounts will beuona Te Domain Crntrolls s as will desktop profiles ani all nItwbikipolicy files. map>mt1" lang="eprocedure:nxol yp=lipres Do not add users tos Te UNIX/Linux ss as ; all of Tisuwill run offa Te cIt ral domain. map>mcliprlipres Configure prelfileLDIFrnf="ly accordithuto ???="an andr???="an. map>mes map>mt1" lang="eexamplF:nxte6"># Global par">< drs < dr:nxtt>[global]="ly Im512931">maae< dr:nxtt> wbikgroupu= MIDEARTHmaly Im512947">="an< dr:nxtt> netbios LDIFu= VALINORmaly Im512963">="an< dr:nxtt> sscurity = DOMAINmaly Im512978">maae< dr:nxtt> printcap LDIFu= cupsIm512994">maae< dr:nxtt> disnble spoolss = Yesl/ty Im513010">="an< dr:nxtt> show ndd prints iwizard = NoIm513026">="an< dr:nxtt> id1ap uid = 15000-20000Im513042">="an< dr:nxtt> id1ap gid = 15000-20000Im513058">="an< dr:nxtt> winbini ssparator = +Im513074">="an< dr:nxtt> winbini usesdifaultidomainu= Yesl/ty Im513090">maae< dr:nxtt> usessendfiler= Yesl/ty Im513106">="an< dr:nxtt> printithu= cupsmt1" lang="eexamplF:nxte6"> < dr:nxtt>[hoIFs]="ly Im513147">="an< dr:nxtt> comlIt r= HoIF Dir">Im513163">="an< dr:nxtt> validsusers = %Sl/ty Im513178">="an< dr:nxtt> readaonly = NoIm513194">maae< dr:nxtt> browsenble = No < dr:nxtt>[spytfull]="ly Im513218">="an< dr:nxtt> comlIt r= AccountithuApplicavionsOnly="ly Im513235">="an< dr:nxtt> pathr= /export/spytfull="ly Im513250">="an< dr:nxtt> validsusers = @Accountsl/ty Im513266">="an< dr:nxtt> adminrusers = maryoIm513281">maae< dr:nxtt> readaonly = Yesl/ty < dr:nxtt>[public]="ly Im513306">="an< dr:nxtt> comlIt r= Data="ly Im513322">="an< dr:nxtt> pathr= /export/public="ly Im513337">maae< dr:nxtt> readaonly = No < dr:nxtt>[prints s]="ly Im513362">="an< dr:nxtt> comlIt r= All Prints sl/ty Im513377">maae< dr:nxtt> pathr= /var/spool/son, l/ty Im513393">="an< dr:nxtt> prints adminr= root, maryoIm513409">="an< dr:nxtt> create mask = 0600Im513425">="an< dr:nxtt> guIs ok = Yesl/ty Im513440">maae< dr:nxtt> printnble = Yesl/ty Im513456">maae< dr:nxtt> useala It drivdr = Yesl/ty Im513472">maae< dr:nxtt> browsenble = Nomcliprlipres Im513494">maae JoinatTeadomain. Note: Do not stcrt Son, untila Tisustep has beee complFted! map>mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>net rpc joina-Uroot%'bigsscret'l/ty mes map>mcliprlipres Mak< absoluprelcomlani">nscdprelcomlani">winbinimcliprlipres Stcrt Son, followithu Te normal metho for yroruoperavith system pla form. Ifayro wish tos Tis maeually exscuterasuroot: Im513551">="an Im513558">="an Im513564">="an Im513571">="an Im513580">="an Im513590">maae map>mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>nmbd; smbd; winbinid;="ly mes map>mcliprlipres Configure tro LDIFuse aoce switch crntrol fileronayrorusystem toiresolveuuseruandrgroup LDIFs via winbini. Edot Te followithulitesrin prelfileLDIFrnf="ly : map>mere lang="eprogramli cithti passwd: files winbini group: files winbini hosts: files dns winbini mes map>mcliprlipres Sst tTe passwbidafor prelcomlani">wbinfomere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>wbinfo --set-nupT-user=root%'bigsscret'l/ty mes map>mcliprlipres Validate tTat domain useruandrgroup credsntials can bFucorr">mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>wbinfo -ul/ty prelproppt">root# l/ty preluserinput:nxtt>wbinfo -gl/ty mes map>mcliprlipres Che>ki Tataprelcomlani">winbini< ussrnameiresoluprelcomlani">getentmere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>getent passwd maryo maryo:x:15000:15003:Mary Orville:/hoIF/MIDEARTH/maryo:/bin/false mes map>mcliprlipres A final tFsmere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>touch /export/a_file="ly prelproppt">root# l/ty preluserinput:nxtt>chowermaryo /export/a_file="ly prelproppt">root# l/ty preluserinput:nxtt>ls -al /export/a_file="ly prelproppt">root# l/ty preluserinput:nxtt>rm /export/a_file="ly mes map>mcliprlipres Configuramere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>mkdir -p /export/{spytfull,public}="ly prelproppt">root# l/ty preluserinput:nxtt>chmoduug=rwxS,o=x /export/{spytfull,public}="ly prelproppt">root# l/ty preluserinput:nxtt>chowermaryo.Accounts /export/{spytfull,public}="ly mes map>mclipr/olu can prcan prcan prt1" lang="en"><2iv class="titlepage">

Im513851">="anDomain Crntrolls

You can pres Im513859">="an For tro remai="ir of tTisuchcptdr Te focusuisuon tTo crnfiguramt1" lang="eisupizedli c:nxul yp=lipres Domain logons in2551ittently fail. map>m liprlipres Filerac(ess onaa Domain Membdr se as in2551ittently fails, givothua p551ossfreudenied error mmssage. map>m lipr/ul>mcan pres Aumorr scalable Domain Crntrol aupTsnticavionsbackend opvionsmight use Microsoft Actfve Dir">< alterLDvive tos Te fun>mes TTe dbsam aupTsnticavionsbackend providmt1" lang="enote:es<3iv class="titlepage">

Im513931">maaeExamplF: EthiteeringiOfficr

You can pres TT< ethiteeringioffoceunItwbikise as iwespresentsT=lipres A wbikith PDC crnfigura???="an togetmerawith ???="an: map>mes Im513975">="an map>mt1" lang="eexamplF:nxte6"> < dr:nxtt>[global]="ly Im514004">maae< dr:nxtt> wbikgroupu= MIDEARTHmaly Im514020">="an< dr:nxtt> netbios LDIFu= FRODOmaly Im514035">="an< dr:nxtt> passdbubackend = dbsammaly Im514051">maae< dr:nxtt> printcap LDIFu= cupsIm514067">="an< dr:nxtt> adduuseruscrip r= /usr/sbin/useradd -m %uIm514083">="an< dr:nxtt> delFteuuseruscrip r= /usr/sbin/userdel -r %uIm514100">maae< dr:nxtt> add groupuscrip r= /usr/sbin/groupadd %gIm514116">="an< dr:nxtt> delFteugroupuscrip r= /usr/sbin/groupdel %gIm514132">="an< dr:nxtt> adduuseruto groupuscrip r= /usr/sbin/usermodu-G %g %uIm514148">="an< dr:nxtt> addumachote scrip r= /usr/sbin/useradd -s /bin/false \< dr:nxtt> -d /dev/null %u# Note: TTo followithuspecifies tTe difault logon scrip .# Ps uss logon scrip s can bFuspecified inatTeausdr account usith pdbedot Im514186">="an< dr:nxtt> logon scrip = scrip s\logon.bat# Trisusets tTe difault profile path. Setaperausdr paths with pdbedotIm514210">="an< dr:nxtt> logon pathr= \\%L\Profiles\%UIm514225">="an< dr:nxtt> logon drivdr= H:Im514241">="an< dr:nxtt> logon hoIF = \\%L\%UIm514256">maae< dr:nxtt> domain logons = Yesl/ty Im514272">maae< dr:nxtt> os levels= 35l/ty Im514288">maae< dr:nxtt> pref>Im514304">maae< dr:nxtt> domain master = Yesl/ty Im514319">="an< dr:nxtt> id1ap uid = 15000-20000Im514335">="an< dr:nxtt> id1ap gid = 15000-20000Im514351">maae< dr:nxtt> printithu= cupsmt1" lang="eexamplF:nxte6"> < dr:nxtt>[hoIFs]="ly Im514390">maae< dr:nxtt> comlIt r= HoIF Dir">Im514406">="an< dr:nxtt> validsusers = %Sl/ty Im514421">="an< dr:nxtt> readaonly = NoIm514437">maae< dr:nxtt> browsenble = No#uPrintithuauto-shar. (makes printers availnble thru CUPS) < dr:nxtt>[prints s]="ly Im514469">="an< dr:nxtt> comlIt r= All Prints sl/ty Im514484">="an< dr:nxtt> pathr= /var/spool/son, l/ty Im514500">maae< dr:nxtt> prints adminr= root, maryoIm514516">="an< dr:nxtt> create mask = 0600Im514532">="an< dr:nxtt> guIs ok = Yesl/ty Im514547">="an< dr:nxtt> printnble = Yesl/ty Im514563">="an< dr:nxtt> browsenble = No < dr:nxtt>[print$]="ly Im514588">="an< dr:nxtt> comlIt r= Prints Drivdrs Shar.="ly Im514604">="an< dr:nxtt> pathr= /var/lib/son, /drivdrs="ly Im514619">="an< dr:nxtt> write lisIm514635">="an< dr:nxtt> prints adminr= maryo, root# Needed tossupport domain logons < dr:nxtt>[netlogon]="ly Im514666">="an< dr:nxtt> comlIt r= NItwbikiLogon Se aoce="ly Im514683">="an< dr:nxtt> pathr= /var/lib/son, /netlogon="ly Im514698">="an< dr:nxtt> adminrusers = root, maryoIm514714">="an< dr:nxtt> guIs ok = Yesl/ty Im514730">maae< dr:nxtt> browsenble = No#uFor profiles touwbik, create a usdr dir">#u showe. i.e.,smkdir -p /var/lib/son, /profiles/maryo < dr:nxtt>[Profiles]="ly Im514768">="an< dr:nxtt> comlIt r= Roamith Profile Shar.="ly Im514785">="an< dr:nxtt> pathr= /var/lib/son, /profiles="ly Im514800">maae< dr:nxtt> readaonly = NoIm514816">="an< dr:nxtt> profile acls = Yesl/ty # Otmeraresource (shar./prints ) difinivionsrwDto follow below....mcliprlipres Create UNIX groupuaccounts as nIededuusothua suitnble operavith system tool: map>mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>groupadd ntndmins="ly prelproppt">root# l/ty preluserinput:nxtt>groupadd disigners="ly prelproppt">root# l/ty preluserinput:nxtt>groupadd ethiteers="ly prelproppt">root# l/ty preluserinput:nxtt>groupadd qateam="ly mes map>mcliprlipres Create usdr accounts on tTo system usith tTo appropriate tool providmcliprlipres Im514916">="an Im514925">="an Assign each of tTe UNIX groups tosNT groups: (Itsmayrbeuuseful to copy Tisutid2 to n shell scrip called prelfileLDIF<clear>Shell scrip for initializith groupu1appiths</clear>mere lang="eprogramli cithti #!/bin/bash #### Keep Tisuasua shell scrip for fumes map>mcliprlipres Create tro prelfileLDIF< dr:nxtt>[NETLOGON]="ly shar.: map>mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>mkdir -p /var/lib/son, /netlogon/scrip s="ly mes PlaceitTe logon scrip s tTat will beuusedi(batch or cmd scrip s) in Tisudir">mclipr/olu can pres TT< abovFucrnfiguram an prt1" lang="en"><3iv class="titlepage">

Im515006">="anA Big Organizavfre

You can pres In Tisun">mt1" lang="en"><4iv class="titlepage">

Im515022">="anTT< PrilaryrDomain Crntrolls

You can pres TTis fs aniexamplF ofate1inimal crnfigurames TT< Idealx scrip s (or equivaleLt) areaneeded tosmaeage LDAPibasediPosix ani/or Son, SonAccounts. Tre Idealx scrip s mayrbeudownloaded fC. tTesprelfileLDIFprel>rnstat mt1" lang="eprocedure:nxol yp=lipres Obtain fC. tTesSon, sourcesumname">prelfileLDIFprelfileLDIFmcliprlipres Sst up tro LDAPiss as . TTisuexamplF isusuitnble for OpenLDAPi2.1.x. Tro prelfileLDIFrnf="ly file: Im515096">="an <clear>ExamplFuslapd.>rnf file</clear>mere lang="eprogramli cithti # Note comlIt edirutulitesrhaveubeee removFd include /etc/openldap/schem /core.schem include /etc/openldap/schem /cosite.schem include /etc/openldap/schem /itemes map>mcliprlipres Create tro followithufilerprelfileLDIFIm515161">="an map>mere lang="eprogramli cithti # Organizavfreafor Son, XP Demo dn: dc=quenya,dc=org objectlang=: dcObject objectlang=: organizavfre dc: quenya o: Son, XP Demo descrip fre: TTo Son, XP Demo LDAPiTre= # Organizavfreal Role for Dir">mes map>mcliprlipres Load tro initial data abovFuinto tro LDAPidatabase: map>mere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>slapadd -v -l initdb.ldif="ly mes map>mcliprlipres Stcrt tro LDAPiss as usith tTo appropriate tool or mmtho for tTo operavith system pla form onawhich it is iestalled. map>mcliprlipres Iestalla Te Idealx scrip files inatTeamname">prelfileLDIFmcliprlipres Tro prelfileLDIFrnf="ly filertTa rdrivds tTisubackend caerbe foundrin examplF ???="an. map>mes mt1" lang="eexamplF:nxte6"># Global par">< drs < dr:nxtt>[global]="ly Im515286">="an< dr:nxtt> wbikgroupu= MIDEARTHmaly Im515301">="an< dr:nxtt> netbios LDIFu= FRODOmaly Im515317">="an< dr:nxtt> passdbubackend = ldapson:ldap://localhostmaly Im515334">maae< dr:nxtt> usernamei1ap = /etc/son, /smbusersmaly Im515350">maae< dr:nxtt> printcap LDIFu= cupsIm515365">="an< dr:nxtt> adduuseruscrip r= /usr/local/sbin/smbldap-useradd.pl -m '%u'Im515382">="an< dr:nxtt> delFteuuseruscrip r= /usr/local/sbin/smbldap-userdel.pl %uIm515399">maae< dr:nxtt> add groupuscrip r= /usr/local/sbin/smbldap-groupadd.pl -p '%g'Im515415">="an< dr:nxtt> delFteugroupuscrip r= /usr/local/sbin/smbldap-groupdel.pl '%g'Im515431">maae< dr:nxtt> adduuseruto groupuscrip r= /usr/local/sbin/ \< dr:nxtt>smbldap-groupmod.pl -m '%g' '%u'Im515455">="an< dr:nxtt> delFteuuserufC. groupuscrip r= /usr/local/sbin/ \< dr:nxtt>smbldap-groupmod.pl -x '%g' '%u'Im515479">="an< dr:nxtt> sst prilary groupuscrip r= /usr/local/sbin/ \< dr:nxtt>smbldap-usermod.pl -g '%g' '%u'Im515502">="an< dr:nxtt> addumachote scrip r= /usr/local/sbin/smbldap-useradd.pl -w '%u'Im515519">="an< dr:nxtt> logon scrip = scrip s\logon.batIm515535">="an< dr:nxtt> logon pathr= \\%L\Profiles\%UIm515550">="an< dr:nxtt> logon drivdr= H:Im515566">="an< dr:nxtt> logon hoIF = \\%L\%UIm515582">="an< dr:nxtt> domain logons = Yesl/ty Im515598">="an< dr:nxtt> os levels= 35l/ty Im515613">maae< dr:nxtt> pref>Im515629">maae< dr:nxtt> domain master = Yesl/ty Im515645">="an< dr:nxtt> ldap suffix = dc=quenya,dc=orgl/ty Im515661">="an< dr:nxtt> ldap machote suffix = ou=PeoplFl/ty Im515677">maae< dr:nxtt> ldap userusuffix = ou=PeoplFl/ty Im515692">maae< dr:nxtt> ldap groupusuffix = ou=PeoplFl/ty Im515708">maae< dr:nxtt> ldap id1ap suffix = ou=PeoplFl/ty Im515724">maae< dr:nxtt> ldap adminrdnr= cn=Maeagerl/ty Im515740">maae< dr:nxtt> ldap ssls= nol/ty Im515756">maae< dr:nxtt> ldap passwd sync = Yesl/ty Im515771">="an< dr:nxtt> id1ap uid = 15000-20000Im515787">="an< dr:nxtt> id1ap gid = 15000-20000Im515803">="an< dr:nxtt> winbini ssparator = +Im515819">="an< dr:nxtt> printithu= cups...mcliprlipres Add tro LDAPipasswbidato tro prelfileLDIFmere lang="escre="ti prelproppt">root# l/ty preluserinput:nxtt>smbpasswd -w moidonL8="ly mes map>mcliprlipres Add users andrgroups as required. Users andrgroups addeduusothuSon, tools will aupomatically bFuadded to bothutTo LDAPibackend as wellrasuto tTo operavith system as required. map>mclipr/olu can prcan prt1" lang="en"><4iv class="titlepage">

Im515881">maaeBackupuDomain Crntrolls

You can pres ???="an shows tTe examplF crnfiguramt1" lang="eprocedure:nxol yp=lipres Decid< if tT< BDC shDto haveuits own LDAPiss as or not. If tT< BDC isuto be tTo LDAPiss as chclae tro followithuprelfileLDIFrnf="ly as indicaved. Tre difault configura???="an ussssa central LDAPiss as . mt1" lang="eexamplF:nxte6"># Global par">< drs < dr:nxtt>[global]="ly Im515947">="an< dr:nxtt> wbikgroupu= MIDEARTHmaly Im515963">="an< dr:nxtt> netbios LDIFu= GANDALFmaly Im515979">="an< dr:nxtt> passdbubackend = ldapson:ldap://frodo.quenya.orgl/ty Im515996">maae< dr:nxtt> usernamei1ap = /etc/son, /smbusersmaly Im516012">maae< dr:nxtt> printcap LDIFu= cupsIm516027">="an< dr:nxtt> logon scrip = scrip s\logon.batIm516044">="an< dr:nxtt> logon pathr= \\%L\Profiles\%UIm516059">="an< dr:nxtt> logon drivdr= H:Im516075">="an< dr:nxtt> logon hoIF = \\%L\%UIm516090">maae< dr:nxtt> domain logons = Yesl/ty Im516106">="an< dr:nxtt> os levels= 33l/ty Im516122">="an< dr:nxtt> pref>Im516138">maae< dr:nxtt> domain master = NoIm516154">="an< dr:nxtt> ldap suffix = dc=quenya,dc=orgl/ty Im516169">="an< dr:nxtt> ldap machote suffix = ou=PeoplFl/ty Im516186">="an< dr:nxtt> ldap userusuffix = ou=PeoplFl/ty Im516201">maae< dr:nxtt> ldap groupusuffix = ou=PeoplFl/ty Im516217">maae< dr:nxtt> ldap id1ap suffix = ou=PeoplFl/ty Im516233">maae< dr:nxtt> ldap adminrdnr= cn=Maeagerl/ty Im516249">maae< dr:nxtt> ldap ssls= nol/ty Im516264">maae< dr:nxtt> ldap passwd sync = Yesl/ty Im516280">="an< dr:nxtt> id1ap uid = 15000-20000Im516296">maae< dr:nxtt> id1ap gid = 15000-20000Im516312">maae< dr:nxtt> winbini ssparator = +Im516327">="an< dr:nxtt> printithu= cups...mcliprlipres Configure tro NETLOGON andrPROFILES dir">???="an. map>mclipr/olu can prcan prcan prcan prcan prcan prt1" lang="enavfoo dr:nxhr>mtagle width="100%:esumlary="NavigaPrev="an Up="anNid2="anHoIF="an